package com.tempjob.common.context;

import com.tempjob.common.businesss.mongo.entity.CompanyInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author hui
 * @Date 2021/12/14 下午5:54
 **/
@Data
@ApiModel
public class UserContext implements Serializable {

    private String id;

    @ApiModelProperty("姓名")
    private String realName;

    @ApiModelProperty("手机号码")
    private String mobile;

    @ApiModelProperty("身份证号码")
    private String identNo;

    @ApiModelProperty("openid")
    private String openId;

    @ApiModelProperty("unionId")
    private String unionId;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("状态1正常")
    private Integer userStatus;

    @ApiModelProperty("当前身份类型：1找工作2招工")
    private Integer currentType;

    @ApiModelProperty("身份类型：1找工作2招工")
    private List<Integer> userType;

    @ApiModelProperty("身份类型：1普通用户2个体工商户3公司员工")
    private Integer hireType;

    @ApiModelProperty("公司信息")
    private CompanyInfo companyInfo;


}
